<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <meta content="" name="description" />
    <meta content="" name="author" />
    <meta name="MobileOptimized" content="320"/>
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="assets/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
    <link href="assets/css/style-metronic.css" rel="stylesheet" type="text/css"/>
    <link href="assets/css/style.css" rel="stylesheet" type="text/css"/>
    <link href="assets/css/style-responsive.css" rel="stylesheet" type="text/css"/>

    <style>


        #personDetailsSave{
            display: inline-block;
            background: #000;
            color: #FFF;
            font-size: 13px;
            line-height: 22px;
            border: none;
            float:right;
            margin-right: 300px;
        }
    </style>
</head>


<body>

<div class="iconAndName" style="margin-top:20px;margin-left:50px">
    <img alt="" th:src="@{'/resources/img/'+${session.currentUser.imgPath}}"  style="width:100px;height:100px;vertical-align:bottom"/>
    <span class="userName" id="userName" style="font-size:28px;margin-left:30px;color:#666666;font-family:'黑体'">杨志</span>
</div>
<hr/>

<center>
    <div class="resetPersonDetails" style="margin-top:100px">
        <form th:action="@{/manage/uploadPhoto}" method="post" enctype="multipart/form-data">
            <label for="personPhoneNumber">手机号码：</label>
            <input id="personPhoneNumber" type="text" th:value="${session.currentUser.phone}" name="phone"/><br/>
            <label for="personEmail" >邮箱账号：</label>
            <input id="personEmail" type="text" name="email" th:value="${session.currentUser.email}" style="margin-top:20px"/><br/>
            <label for="personIcon" style="margin-left: 74px">上传头像：</label>
            <input id="personIcon" type="file" name="fileField" style="margin-top:20px"/> <br/>
            <input id="personDetailsSave" type="submit" value="保存" style="margin-top:60px"/>
        </form>

    </div>
</center>





</body>

</html>
